package com.hellobike.haxing.modules.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 订单相关时间配置
 * @Author: haxing-boot
 * @Date: 2020-02-08
 * @Version: V1.0
 */
@Data
@TableName("t_order_time_config")
public class OrderTimeConfig implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private java.lang.Long id;
    /**
     * 时间
     */
    @Excel(name = "时间", width = 20, format = "HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "HH:mm:ss")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private java.util.Date time;
    /**
     * 类型0结单1生鲜2日杂
     */
    @Excel(name = "类型0结单1生鲜2日杂3交易关闭", width = 15)
    private java.lang.Integer type;
    /**
     * createTime
     */
    @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
    /**
     * updateTime
     */
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;
    /**
     * createBy
     */
    @Excel(name = "createBy", width = 15)
    private java.lang.Integer createBy;
    /**
     * updateBy
     */
    @Excel(name = "updateBy", width = 15)
    private java.lang.Integer updateBy;
    /**
     * deleted
     */
    @Excel(name = "deleted", width = 15)
    @TableLogic
    private java.lang.Integer deleted;
    /**
     * 名称
     */
    @Excel(name = "名称", width = 15)
    private java.lang.String name;

    private String remark;
}
